import { ref } from 'vue'
import request from '@/utils/request.js'
//添加题目
export const addSubject = (sysSubject) => {
    return request.post("/subject/addSubject",sysSubject)
 }
 //查询题目标签
 export const selectSubjectLabel = () => {
    return request.get("/subject/selectSubjectLabel")
 }
 //查询专业名称
 export const selectSubjectMajor = () => {
    return request.get("/subject/selectSubjectMajor")
 }
 //修改题目
 export const updateSubject = (sysSubject) => {
    return request.post("/subject/updateSysSubject",sysSubject)
 }
 //删除题目
 export const deleteSubject = (sid) => {
    return request.delete("/subject/deleteById/"+sid)
 }